package com.example.bean;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * <br>TODO(描述该类的作用)</br>
 *
 * @author 533735
 * @version 1.0
 * @email wanghong3@dafycredit.com
 * @date 2018/8/28 14:04
 * @since 1.0
 */
@Qualifier("apple")
@Scope("singleton")
@Component
public class Apple extends Fruit {
    public Apple() {
        System.out.println("I got a fresh apple");
    }
}
